package cc.shacocloud.luanniao.web.model.convert

import cc.shacocloud.luanniao.core.model.po.UserPo
import cc.shacocloud.luanniao.web.model.dto.output.UserOutput

fun UserPo.toOutput(): UserOutput {
    return UserOutput(
        id = id!!,
        username = username,
        nickname = nickname,
        status = status,
        avatar = avatar,
        createTime = createTime!!,
        lastUpdateTime = lastUpdateTime!!
    )
}




